package com.axin.entity;

import java.util.Date;

public class HbTask {
    private Long id;

    private Long userId;

    private String state;

    private String symbol;

    private Integer buyTradeCount;

    private Integer buyTradeLimit;

    private String firstMoney;

    private String buyLevel;

    private String buyMethod;
    
    private String reboundPercent;

    private String buyBasePrice;

    private String profitPercent;
    
    private String fallBackPercent;

    private Integer loopCount;

    private String totalAmount;

    private String totalMoney;

    private Date createTime;

    private Date updateTime;
    
    
    public HbTask() {
		super();
	}
    
    

	public HbTask(Long id, String state) {
		super();
		this.id = id;
		this.state = state;
	}
	


	public HbTask(Long id, Integer buyTradeCount, String totalAmount, String totalMoney) {
		super();
		this.id = id;
		this.buyTradeCount = buyTradeCount;
		this.totalAmount = totalAmount;
		this.totalMoney = totalMoney;
	}

	


	public HbTask(Long id,Integer buyTradeCount, String buyBasePrice, Integer loopCount,
			String totalAmount, String totalMoney) {
		super();
		this.id = id;
		this.buyTradeCount = buyTradeCount;
		this.buyBasePrice = buyBasePrice;
		this.loopCount = loopCount;
		this.totalAmount = totalAmount;
		this.totalMoney = totalMoney;
	}
	
	

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol == null ? null : symbol.trim();
    }

    public Integer getBuyTradeCount() {
        return buyTradeCount;
    }

    public void setBuyTradeCount(Integer buyTradeCount) {
        this.buyTradeCount = buyTradeCount;
    }

    public Integer getBuyTradeLimit() {
        return buyTradeLimit;
    }

    public void setBuyTradeLimit(Integer buyTradeLimit) {
        this.buyTradeLimit = buyTradeLimit;
    }

    public String getFirstMoney() {
        return firstMoney;
    }

    public void setFirstMoney(String firstMoney) {
        this.firstMoney = firstMoney == null ? null : firstMoney.trim();
    }

    public String getBuyLevel() {
        return buyLevel;
    }

    public void setBuyLevel(String buyLevel) {
        this.buyLevel = buyLevel == null ? null : buyLevel.trim();
    }

    public String getBuyMethod() {
        return buyMethod;
    }

    public void setBuyMethod(String buyMethod) {
        this.buyMethod = buyMethod == null ? null : buyMethod.trim();
    }

    public String getBuyBasePrice() {
        return buyBasePrice;
    }

    public void setBuyBasePrice(String buyBasePrice) {
        this.buyBasePrice = buyBasePrice == null ? null : buyBasePrice.trim();
    }

    public String getProfitPercent() {
        return profitPercent;
    }

    public void setProfitPercent(String profitPercent) {
        this.profitPercent = profitPercent == null ? null : profitPercent.trim();
    }

    public Integer getLoopCount() {
        return loopCount;
    }

    public void setLoopCount(Integer loopCount) {
        this.loopCount = loopCount;
    }

    public String getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(String totalAmount) {
        this.totalAmount = totalAmount == null ? null : totalAmount.trim();
    }

    public String getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(String totalMoney) {
        this.totalMoney = totalMoney == null ? null : totalMoney.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }



	/**
	 * @return the reboundPercent
	 */
	public String getReboundPercent() {
		return reboundPercent;
	}



	/**
	 * @param reboundPercent the reboundPercent to set
	 */
	public void setReboundPercent(String reboundPercent) {
		this.reboundPercent = reboundPercent;
	}



	/**
	 * @return the fallBackPercent
	 */
	public String getFallBackPercent() {
		return fallBackPercent;
	}



	/**
	 * @param fallBackPercent the fallBackPercent to set
	 */
	public void setFallBackPercent(String fallBackPercent) {
		this.fallBackPercent = fallBackPercent;
	}
    
    
}